package com.wanho.java159.cb.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TaskExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TaskExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNull() {
            addCriterion("task_type is null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNotNull() {
            addCriterion("task_type is not null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeEqualTo(String value) {
            addCriterion("task_type =", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotEqualTo(String value) {
            addCriterion("task_type <>", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThan(String value) {
            addCriterion("task_type >", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThanOrEqualTo(String value) {
            addCriterion("task_type >=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThan(String value) {
            addCriterion("task_type <", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThanOrEqualTo(String value) {
            addCriterion("task_type <=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLike(String value) {
            addCriterion("task_type like", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotLike(String value) {
            addCriterion("task_type not like", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIn(List<String> values) {
            addCriterion("task_type in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotIn(List<String> values) {
            addCriterion("task_type not in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeBetween(String value1, String value2) {
            addCriterion("task_type between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotBetween(String value1, String value2) {
            addCriterion("task_type not between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andTableNameIsNull() {
            addCriterion("table_name is null");
            return (Criteria) this;
        }

        public Criteria andTableNameIsNotNull() {
            addCriterion("table_name is not null");
            return (Criteria) this;
        }

        public Criteria andTableNameEqualTo(String value) {
            addCriterion("table_name =", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotEqualTo(String value) {
            addCriterion("table_name <>", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameGreaterThan(String value) {
            addCriterion("table_name >", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameGreaterThanOrEqualTo(String value) {
            addCriterion("table_name >=", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLessThan(String value) {
            addCriterion("table_name <", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLessThanOrEqualTo(String value) {
            addCriterion("table_name <=", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameLike(String value) {
            addCriterion("table_name like", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotLike(String value) {
            addCriterion("table_name not like", value, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameIn(List<String> values) {
            addCriterion("table_name in", values, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotIn(List<String> values) {
            addCriterion("table_name not in", values, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameBetween(String value1, String value2) {
            addCriterion("table_name between", value1, value2, "tableName");
            return (Criteria) this;
        }

        public Criteria andTableNameNotBetween(String value1, String value2) {
            addCriterion("table_name not between", value1, value2, "tableName");
            return (Criteria) this;
        }

        public Criteria andTablePkColIsNull() {
            addCriterion("table_pk_col is null");
            return (Criteria) this;
        }

        public Criteria andTablePkColIsNotNull() {
            addCriterion("table_pk_col is not null");
            return (Criteria) this;
        }

        public Criteria andTablePkColEqualTo(String value) {
            addCriterion("table_pk_col =", value, "tablePkCol");
            return (Criteria) this;
        }

        public Criteria andTablePkColNotEqualTo(String value) {
            addCriterion("table_pk_col <>", value, "tablePkCol");
            return (Criteria) this;
        }

        public Criteria andTablePkColGreaterThan(String value) {
            addCriterion("table_pk_col >", value, "tablePkCol");
            return (Criteria) this;
        }

        public Criteria andTablePkColGreaterThanOrEqualTo(String value) {
            addCriterion("table_pk_col >=", value, "tablePkCol");
            return (Criteria) this;
        }

        public Criteria andTablePkColLessThan(String value) {
            addCriterion("table_pk_col <", value, "tablePkCol");
            return (Criteria) this;
        }

        public Criteria andTablePkColLessThanOrEqualTo(String value) {
            addCriterion("table_pk_col <=", value, "tablePkCol");
            return (Criteria) this;
        }

        public Criteria andTablePkColLike(String value) {
            addCriterion("table_pk_col like", value, "tablePkCol");
            return (Criteria) this;
        }

        public Criteria andTablePkColNotLike(String value) {
            addCriterion("table_pk_col not like", value, "tablePkCol");
            return (Criteria) this;
        }

        public Criteria andTablePkColIn(List<String> values) {
            addCriterion("table_pk_col in", values, "tablePkCol");
            return (Criteria) this;
        }

        public Criteria andTablePkColNotIn(List<String> values) {
            addCriterion("table_pk_col not in", values, "tablePkCol");
            return (Criteria) this;
        }

        public Criteria andTablePkColBetween(String value1, String value2) {
            addCriterion("table_pk_col between", value1, value2, "tablePkCol");
            return (Criteria) this;
        }

        public Criteria andTablePkColNotBetween(String value1, String value2) {
            addCriterion("table_pk_col not between", value1, value2, "tablePkCol");
            return (Criteria) this;
        }

        public Criteria andTablePkValIsNull() {
            addCriterion("table_pk_val is null");
            return (Criteria) this;
        }

        public Criteria andTablePkValIsNotNull() {
            addCriterion("table_pk_val is not null");
            return (Criteria) this;
        }

        public Criteria andTablePkValEqualTo(String value) {
            addCriterion("table_pk_val =", value, "tablePkVal");
            return (Criteria) this;
        }

        public Criteria andTablePkValNotEqualTo(String value) {
            addCriterion("table_pk_val <>", value, "tablePkVal");
            return (Criteria) this;
        }

        public Criteria andTablePkValGreaterThan(String value) {
            addCriterion("table_pk_val >", value, "tablePkVal");
            return (Criteria) this;
        }

        public Criteria andTablePkValGreaterThanOrEqualTo(String value) {
            addCriterion("table_pk_val >=", value, "tablePkVal");
            return (Criteria) this;
        }

        public Criteria andTablePkValLessThan(String value) {
            addCriterion("table_pk_val <", value, "tablePkVal");
            return (Criteria) this;
        }

        public Criteria andTablePkValLessThanOrEqualTo(String value) {
            addCriterion("table_pk_val <=", value, "tablePkVal");
            return (Criteria) this;
        }

        public Criteria andTablePkValLike(String value) {
            addCriterion("table_pk_val like", value, "tablePkVal");
            return (Criteria) this;
        }

        public Criteria andTablePkValNotLike(String value) {
            addCriterion("table_pk_val not like", value, "tablePkVal");
            return (Criteria) this;
        }

        public Criteria andTablePkValIn(List<String> values) {
            addCriterion("table_pk_val in", values, "tablePkVal");
            return (Criteria) this;
        }

        public Criteria andTablePkValNotIn(List<String> values) {
            addCriterion("table_pk_val not in", values, "tablePkVal");
            return (Criteria) this;
        }

        public Criteria andTablePkValBetween(String value1, String value2) {
            addCriterion("table_pk_val between", value1, value2, "tablePkVal");
            return (Criteria) this;
        }

        public Criteria andTablePkValNotBetween(String value1, String value2) {
            addCriterion("table_pk_val not between", value1, value2, "tablePkVal");
            return (Criteria) this;
        }

        public Criteria andOpeTypeIsNull() {
            addCriterion("ope_type is null");
            return (Criteria) this;
        }

        public Criteria andOpeTypeIsNotNull() {
            addCriterion("ope_type is not null");
            return (Criteria) this;
        }

        public Criteria andOpeTypeEqualTo(String value) {
            addCriterion("ope_type =", value, "opeType");
            return (Criteria) this;
        }

        public Criteria andOpeTypeNotEqualTo(String value) {
            addCriterion("ope_type <>", value, "opeType");
            return (Criteria) this;
        }

        public Criteria andOpeTypeGreaterThan(String value) {
            addCriterion("ope_type >", value, "opeType");
            return (Criteria) this;
        }

        public Criteria andOpeTypeGreaterThanOrEqualTo(String value) {
            addCriterion("ope_type >=", value, "opeType");
            return (Criteria) this;
        }

        public Criteria andOpeTypeLessThan(String value) {
            addCriterion("ope_type <", value, "opeType");
            return (Criteria) this;
        }

        public Criteria andOpeTypeLessThanOrEqualTo(String value) {
            addCriterion("ope_type <=", value, "opeType");
            return (Criteria) this;
        }

        public Criteria andOpeTypeLike(String value) {
            addCriterion("ope_type like", value, "opeType");
            return (Criteria) this;
        }

        public Criteria andOpeTypeNotLike(String value) {
            addCriterion("ope_type not like", value, "opeType");
            return (Criteria) this;
        }

        public Criteria andOpeTypeIn(List<String> values) {
            addCriterion("ope_type in", values, "opeType");
            return (Criteria) this;
        }

        public Criteria andOpeTypeNotIn(List<String> values) {
            addCriterion("ope_type not in", values, "opeType");
            return (Criteria) this;
        }

        public Criteria andOpeTypeBetween(String value1, String value2) {
            addCriterion("ope_type between", value1, value2, "opeType");
            return (Criteria) this;
        }

        public Criteria andOpeTypeNotBetween(String value1, String value2) {
            addCriterion("ope_type not between", value1, value2, "opeType");
            return (Criteria) this;
        }

        public Criteria andOpeCountIsNull() {
            addCriterion("ope_count is null");
            return (Criteria) this;
        }

        public Criteria andOpeCountIsNotNull() {
            addCriterion("ope_count is not null");
            return (Criteria) this;
        }

        public Criteria andOpeCountEqualTo(Integer value) {
            addCriterion("ope_count =", value, "opeCount");
            return (Criteria) this;
        }

        public Criteria andOpeCountNotEqualTo(Integer value) {
            addCriterion("ope_count <>", value, "opeCount");
            return (Criteria) this;
        }

        public Criteria andOpeCountGreaterThan(Integer value) {
            addCriterion("ope_count >", value, "opeCount");
            return (Criteria) this;
        }

        public Criteria andOpeCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("ope_count >=", value, "opeCount");
            return (Criteria) this;
        }

        public Criteria andOpeCountLessThan(Integer value) {
            addCriterion("ope_count <", value, "opeCount");
            return (Criteria) this;
        }

        public Criteria andOpeCountLessThanOrEqualTo(Integer value) {
            addCriterion("ope_count <=", value, "opeCount");
            return (Criteria) this;
        }

        public Criteria andOpeCountIn(List<Integer> values) {
            addCriterion("ope_count in", values, "opeCount");
            return (Criteria) this;
        }

        public Criteria andOpeCountNotIn(List<Integer> values) {
            addCriterion("ope_count not in", values, "opeCount");
            return (Criteria) this;
        }

        public Criteria andOpeCountBetween(Integer value1, Integer value2) {
            addCriterion("ope_count between", value1, value2, "opeCount");
            return (Criteria) this;
        }

        public Criteria andOpeCountNotBetween(Integer value1, Integer value2) {
            addCriterion("ope_count not between", value1, value2, "opeCount");
            return (Criteria) this;
        }

        public Criteria andNumberSyncedIsNull() {
            addCriterion("number_synced is null");
            return (Criteria) this;
        }

        public Criteria andNumberSyncedIsNotNull() {
            addCriterion("number_synced is not null");
            return (Criteria) this;
        }

        public Criteria andNumberSyncedEqualTo(Integer value) {
            addCriterion("number_synced =", value, "numberSynced");
            return (Criteria) this;
        }

        public Criteria andNumberSyncedNotEqualTo(Integer value) {
            addCriterion("number_synced <>", value, "numberSynced");
            return (Criteria) this;
        }

        public Criteria andNumberSyncedGreaterThan(Integer value) {
            addCriterion("number_synced >", value, "numberSynced");
            return (Criteria) this;
        }

        public Criteria andNumberSyncedGreaterThanOrEqualTo(Integer value) {
            addCriterion("number_synced >=", value, "numberSynced");
            return (Criteria) this;
        }

        public Criteria andNumberSyncedLessThan(Integer value) {
            addCriterion("number_synced <", value, "numberSynced");
            return (Criteria) this;
        }

        public Criteria andNumberSyncedLessThanOrEqualTo(Integer value) {
            addCriterion("number_synced <=", value, "numberSynced");
            return (Criteria) this;
        }

        public Criteria andNumberSyncedIn(List<Integer> values) {
            addCriterion("number_synced in", values, "numberSynced");
            return (Criteria) this;
        }

        public Criteria andNumberSyncedNotIn(List<Integer> values) {
            addCriterion("number_synced not in", values, "numberSynced");
            return (Criteria) this;
        }

        public Criteria andNumberSyncedBetween(Integer value1, Integer value2) {
            addCriterion("number_synced between", value1, value2, "numberSynced");
            return (Criteria) this;
        }

        public Criteria andNumberSyncedNotBetween(Integer value1, Integer value2) {
            addCriterion("number_synced not between", value1, value2, "numberSynced");
            return (Criteria) this;
        }

        public Criteria andIsSuccessedIsNull() {
            addCriterion("is_successed is null");
            return (Criteria) this;
        }

        public Criteria andIsSuccessedIsNotNull() {
            addCriterion("is_successed is not null");
            return (Criteria) this;
        }

        public Criteria andIsSuccessedEqualTo(Boolean value) {
            addCriterion("is_successed =", value, "isSuccessed");
            return (Criteria) this;
        }

        public Criteria andIsSuccessedNotEqualTo(Boolean value) {
            addCriterion("is_successed <>", value, "isSuccessed");
            return (Criteria) this;
        }

        public Criteria andIsSuccessedGreaterThan(Boolean value) {
            addCriterion("is_successed >", value, "isSuccessed");
            return (Criteria) this;
        }

        public Criteria andIsSuccessedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_successed >=", value, "isSuccessed");
            return (Criteria) this;
        }

        public Criteria andIsSuccessedLessThan(Boolean value) {
            addCriterion("is_successed <", value, "isSuccessed");
            return (Criteria) this;
        }

        public Criteria andIsSuccessedLessThanOrEqualTo(Boolean value) {
            addCriterion("is_successed <=", value, "isSuccessed");
            return (Criteria) this;
        }

        public Criteria andIsSuccessedIn(List<Boolean> values) {
            addCriterion("is_successed in", values, "isSuccessed");
            return (Criteria) this;
        }

        public Criteria andIsSuccessedNotIn(List<Boolean> values) {
            addCriterion("is_successed not in", values, "isSuccessed");
            return (Criteria) this;
        }

        public Criteria andIsSuccessedBetween(Boolean value1, Boolean value2) {
            addCriterion("is_successed between", value1, value2, "isSuccessed");
            return (Criteria) this;
        }

        public Criteria andIsSuccessedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_successed not between", value1, value2, "isSuccessed");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedIsNull() {
            addCriterion("is_synchronized is null");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedIsNotNull() {
            addCriterion("is_synchronized is not null");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedEqualTo(Boolean value) {
            addCriterion("is_synchronized =", value, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedNotEqualTo(Boolean value) {
            addCriterion("is_synchronized <>", value, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedGreaterThan(Boolean value) {
            addCriterion("is_synchronized >", value, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_synchronized >=", value, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedLessThan(Boolean value) {
            addCriterion("is_synchronized <", value, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedLessThanOrEqualTo(Boolean value) {
            addCriterion("is_synchronized <=", value, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedIn(List<Boolean> values) {
            addCriterion("is_synchronized in", values, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedNotIn(List<Boolean> values) {
            addCriterion("is_synchronized not in", values, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedBetween(Boolean value1, Boolean value2) {
            addCriterion("is_synchronized between", value1, value2, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andIsSynchronizedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_synchronized not between", value1, value2, "isSynchronized");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(Long value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(Long value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(Long value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(Long value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(Long value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(Long value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<Long> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<Long> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(Long value1, Long value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(Long value1, Long value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNull() {
            addCriterion("is_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNotNull() {
            addCriterion("is_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedEqualTo(Boolean value) {
            addCriterion("is_deleted =", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotEqualTo(Boolean value) {
            addCriterion("is_deleted <>", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThan(Boolean value) {
            addCriterion("is_deleted >", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_deleted >=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThan(Boolean value) {
            addCriterion("is_deleted <", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("is_deleted <=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIn(List<Boolean> values) {
            addCriterion("is_deleted in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotIn(List<Boolean> values) {
            addCriterion("is_deleted not in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("is_deleted between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_deleted not between", value1, value2, "isDeleted");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}